package com.alfred.mall.order.api;

import com.alfred.common.framwork.vo.CommonResult;
import com.alfred.mall.order.api.bo.OrderCreateBO;
import com.alfred.mall.order.api.bo.OrderPageBO;
import com.alfred.mall.order.api.dto.OrderCreateDTO;
import com.alfred.mall.order.api.dto.OrderQueryDTO;

/**
 * 订单 orderService
 */
public interface OrderService {
    /**
     * 订单 page
     *
     * @param orderQueryDTO
     * @return
     */
    CommonResult<OrderPageBO> getOrderPage(OrderQueryDTO orderQueryDTO);

    /**
     * 订单-创建
     *
     * @param orderCreateDTO
     * @return
     */
    CommonResult<OrderCreateBO> createOrder(OrderCreateDTO orderCreateDTO);
}
